<html>
	<body style="text-align: center;">
		<header>
			<#include "header.html" />
		</header>
		<div style="margin-top: 50px; color: #424e5a;">
			<h3>Hi,</h3>
			<p>Application <b>${application.name}</b> has just subscribed to the API <b>${api.name}</b> with plan <b>${plan.name}</b>.</p>
			<#if plan.validation == 'MANUAL'>
				<p>This subscription need your approval<#if subscriptionsUrl?? && subscriptionsUrl != ''> <a href="${subscriptionsUrl}">here</a></#if>.</p>
			</#if>

			<#if subscription.request??>
				<#if plan.commentMessage??>${plan.commentMessage}<#else>Message</#if>
				<p style="border: 1px solid grey; margin: 0 32px; padding: 16px; font-style: italic;">${subscription.request}</p>
			</#if>
      	</div>
	</body>
</html>
